//
//  UIView+MyFrame.h
//  GameSky
//
//  Created by lanou on 16/1/11.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import <UIKit/UIKit.h>

#define kWidth self.frame.size.width
#define kHeight self.frame.size.height
#define kScreenWidth [UIScreen mainScreen].bounds.size.width
#define kScreenHeight [UIScreen mainScreen].bounds.size.height
// RGB颜色
#define kRGBColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

@interface UIView (MyFrame)
// 左边界
@property (nonatomic,assign) CGFloat left;
// 右边界
@property (nonatomic,assign) CGFloat right;
// 上边界
@property (nonatomic,assign) CGFloat top;
// 下边界
@property (nonatomic,assign) CGFloat bottom;
// 宽
@property (nonatomic,assign) CGFloat width;
// 高
@property (nonatomic,assign) CGFloat height;

@end
